<?php
setcookie("uid", 0, time()-3600*24*365*2);
session_start();
session_destroy();
header("Location: /");
?>